package com.xhd.db;

import java.io.OutputStream;
import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.List;
import java.util.Vector;

import java.util.Hashtable;
import com.xhd.exception.DatabaseException;
import com.xhd.pagination.DataPaging;


	public abstract interface BizQuery
	{
	  public abstract Vector getCall(DBQuery paramDBQuery)
	    throws DatabaseException;

	  public abstract Vector getCall(String paramString, List paramList, int paramInt)
	    throws DatabaseException;

	  public abstract Vector multiRowSelect(Object paramObject)
	    throws DatabaseException;

	  public abstract Vector multiRowSelect(String paramString, int paramInt)
	    throws DatabaseException;

	  public abstract Vector multiRowSelect(DBSQL paramDBSQL, int paramInt)
	    throws DatabaseException;

	  public abstract Vector pageSelect(Object paramObject, DataPaging paramDataPaging)
	    throws DatabaseException;

	  public abstract Hashtable oneRowSelect(Object paramObject)
	    throws DatabaseException;

	  public abstract Vector oneListSelect(Object paramObject)
	    throws DatabaseException;

	  public abstract int intSelect(Object paramObject)
	    throws DatabaseException;

	  public abstract String strSelect(Object paramObject)
	    throws DatabaseException;

	  public abstract Vector[] rptQuery(DBQuery paramDBQuery)
	    throws DatabaseException;

	  public abstract Vector selectObjectData(Object paramObject)
	    throws DatabaseException;

	  public abstract Hashtable getColumns(String paramString)
	    throws DatabaseException;

	  public abstract Hashtable getColumnTypes(String paramString)
	    throws DatabaseException;

	  public abstract PreparedStatement getPrepareStatement(String paramString)
	    throws DatabaseException;

	  public abstract ResultSet getResultSet(String paramString)
	    throws DatabaseException;

	  public abstract CallableStatement getCallableStatement(String paramString)
	    throws DatabaseException;

	  public abstract int streamSelect(Object paramObject, OutputStream paramOutputStream)
	    throws DatabaseException;
	
}
